Skip to main content

mobilePurchaseCreate

Type

command

Summary

Create a new purchase.

Syntax

mobilePurchaseCreate <productID>

Description

Use mobilePurchaseCreate to create a new purchases.

The command mobilePurchaseCreate is used to create a purchaseId for a particular productId.

The productId is the identifier of the in-app purchase you created in iTunesConnect/Market Place and wish to purchase.

Parameters

NameTypeDescription

productID

The identifier of the requested item.

Examples

mobilePurchaseCreate theProductId
put the result into thePurchaseId

command: mobilePurchaseSet, mobileDisablePurchaseUpdates, mobilePurchaseVerify, mobileRestorePurchases, iphoneRequestProductDetails, mobilePurchaseSendRequest, mobilePurchaseConfirmDelivery, mobileEnablePurchaseUpdates

function: mobilePurchaseState, mobilePurchaseError, mobileCanMakePurchase, mobilePurchaseGet, mobilePurchases

message: purchaseStateUpdate

Compatibility and Support

Introduced

LiveCode 5.0.1

OS

ios

android

Platforms

mobile

Thank you for your feedback!

Was this page helpful?